cmake_minimum_required(VERSION 3.5)

project(lab23 LANGUAGES CXX)

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

add_executable(lab23 main.cpp
    number_vector.h number_vector.cpp)

include(GNUInstallDirs)
install(TARGETS lab23
    LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
    RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
)
